<template>
<kb-layout> 
	<view class="u-content">
		<!-- <rich-text :nodes="ee.company.joinus"></rich-text> -->
		<up-parse :content="content"></up-parse>
	</view>
</kb-layout>
</template>

<script>
	export default {
		data() {
			return {
				type: "joinus",
			 
			}
		},
		computed:{
			content(){
				if(this.type == 'joinus'){
					return this.ee.company.joinus
				}
				if(this.type == 'about'){
					return this.ee.company.companydescript
				}
				if(this.type=='privacy'){
					return this.ee.company.privacy
				}
				return "<p style='text-align:center; color:#999'><strong>404</strong><br/>暂无页面数据<p>"
			}
		},
		onLoad(option) {
			this.type = option?.type ? option.type : 'joinus';
			
		},
		methods: {
			
		} 
	}
</script>

<style>
 .u-content {
        padding: 30rpx;
        font-size: 32rpx;
        color: $u-content-color;
        line-height: 1.6;
    }
</style>
